//
//  ConnectModel.h
//  UI18_网络封装
//
//  Created by 刘建镇 on 14-12-18.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^ConnectBlock)(NSData *data);


@interface ConnectModel : NSObject<NSURLConnectionDataDelegate>

@property (nonatomic, copy) ConnectBlock finished;

@property (nonatomic, retain) NSString *urlName;

+ (void)connectModelWithUrlStr:(NSString *)str parmaters:(NSDictionary *)parmaters finished:(ConnectBlock)finishBlock;
@end
